package com.jianbing.entity;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * Created by Han, Tixiang on 2016/10/12 0012.
 */
public class City {
    @JSONField(serialize = false)
    public static final int NORMAL = 1, MAINTAIN = -1, DIAOYU = 2, NOT_SUPPORT = 0,ZHIYUANZHE=3; //正常，维护，钓鱼，不支持
    @JSONField(name = "Id")
    private int id;
    @JSONField(name = "Name")
    private String name;
    @JSONField(name = "HasCode")
    private boolean hasCode = true;
    @JSONField(name = "HasYanglao")
    private boolean hasYanglao = true;
    @JSONField(name = "HasYiliao")
    private boolean hasYiliao = true;
    @JSONField(name = "HasShengyu")
    private boolean hasShengyu = true;
    @JSONField(name = "HasGongshang")
    private boolean hasGongshang = true;
    @JSONField(name = "HasShiye")
    private boolean hasShiye = true;
    @JSONField(name = "JsName")
    private String jsName;
    @JSONField(name = "Province")
    private int province;
    private String url;
    public String getLoginParam() {
        return loginParam;
    }

    @JSONField(name = "LoginParam")
    private String loginParam;
    @JSONField(name = "State")
    private int state = 0;

    public void setId(int id) {
        this.id = id;
    }

    public void setHasCode(boolean hasCode) {
        this.hasCode = hasCode;
    }

    public void setHasYanglao(boolean hasYanglao) {
        this.hasYanglao = hasYanglao;
    }

    public void setHasYiliao(boolean hasYiliao) {
        this.hasYiliao = hasYiliao;
    }

    public void setHasShengyu(boolean hasShengyu) {
        this.hasShengyu = hasShengyu;
    }

    public void setHasGongshang(boolean hasGongshang) {
        this.hasGongshang = hasGongshang;
    }

    public void setHasShiye(boolean hasShiye) {
        this.hasShiye = hasShiye;
    }

    public void setJsName(String jsName) {
        this.jsName = jsName;
    }

    public void setProvince(int province) {
        this.province = province;
    }

    public void setLoginParam(String loginParam) {
        this.loginParam = loginParam;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getId() {

        return id;
    }

    public boolean isHasCode() {
        return hasCode;
    }

    public boolean isHasYanglao() {
        return hasYanglao;
    }

    public boolean isHasYiliao() {
        return hasYiliao;
    }

    public boolean isHasShengyu() {
        return hasShengyu;
    }

    public boolean isHasGongshang() {
        return hasGongshang;
    }

    public boolean isHasShiye() {
        return hasShiye;
    }

    public String getJsName() {
        return jsName;
    }

    public int getProvince() {
        return province;
    }

    public String isLoginParam() {
        return loginParam;
    }

    public int getState() {
        return state;
    }



    public void setName(String name) {
        this.name = name;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {

        return name;
    }

    public String getUrl() {
        return url;
    }
}
